.class Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;
.super Ljava/lang/Object;
.source "NoteDetailActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/youdao/note/activity/NoteDetailActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "MyJavaScriptInteface"
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/activity/NoteDetailActivity;


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/NoteDetailActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 365
    iput-object p1, p0, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/NoteDetailActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public log(Ljava/lang/String;)V
    .locals 2
    .parameter "log"

    .prologue
    .line 368
    iget-object v0, p0, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/NoteDetailActivity;

    #getter for: Lcom/youdao/note/activity/NoteDetailActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/youdao/note/activity/NoteDetailActivity;->access$300(Lcom/youdao/note/activity/NoteDetailActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$1;

    invoke-direct {v1, p0, p1}, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$1;-><init>(Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 375
    return-void
.end method

.method public onBodyFetched(Ljava/lang/String;)V
    .locals 2
    .parameter "noteBody"

    .prologue
    .line 384
    iget-object v0, p0, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/NoteDetailActivity;

    #getter for: Lcom/youdao/note/activity/NoteDetailActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/youdao/note/activity/NoteDetailActivity;->access$300(Lcom/youdao/note/activity/NoteDetailActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$2;

    invoke-direct {v1, p0, p1}, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$2;-><init>(Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 396
    return-void
.end method

.method public viewResource(Ljava/lang/String;)V
    .locals 2
    .parameter "resourceId"

    .prologue
    .line 399
    iget-object v0, p0, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;->this$0:Lcom/youdao/note/activity/NoteDetailActivity;

    #getter for: Lcom/youdao/note/activity/NoteDetailActivity;->handler:Landroid/os/Handler;
    invoke-static {v0}, Lcom/youdao/note/activity/NoteDetailActivity;->access$300(Lcom/youdao/note/activity/NoteDetailActivity;)Landroid/os/Handler;

    move-result-object v0

    new-instance v1, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$3;

    invoke-direct {v1, p0, p1}, Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface$3;-><init>(Lcom/youdao/note/activity/NoteDetailActivity$MyJavaScriptInteface;Ljava/lang/String;)V

    invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z

    .line 461
    return-void
.end method
